package com.xuwang.vo;

import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName ComplaintsVo
 * @Description TODO
 * @Author OuJunchen
 * @Date 2021/9/23 下午6:39
 * @Version 1.0
 */
public class ComplaintsVo {

    /**
     * 举报类型
     */
    @ApiModelProperty(value = "举报类型")
    private Integer type;

    /**
     * 举报人
     */
    @ApiModelProperty(value = "举报人")
    private String whistleblower;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /**
     * 举报内容
     */
    @ApiModelProperty(value = "举报内容")
    private String reportContent;

    @Override
    public String toString () {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"type\":")
                .append(type);
        sb.append(",\"whistleblower\":\"")
                .append(whistleblower).append('\"');
        sb.append(",\"phone\":\"")
                .append(phone).append('\"');
        sb.append(",\"reportContent\":\"")
                .append(reportContent).append('\"');
        sb.append('}');
        return sb.toString();
    }

    public Integer getType () {
        return type;
    }

    public void setType (Integer type) {
        this.type = type;
    }

    public String getWhistleblower () {
        return whistleblower;
    }

    public void setWhistleblower (String whistleblower) {
        this.whistleblower = whistleblower;
    }

    public String getPhone () {
        return phone;
    }

    public void setPhone (String phone) {
        this.phone = phone;
    }

    public String getReportContent () {
        return reportContent;
    }

    public void setReportContent (String reportContent) {
        this.reportContent = reportContent;
    }
}
